package com.dongdongshop.service.itemCat;

import com.dongdongshop.pojo.item.TbItem;
import com.dongdongshop.pojo.itemCat.TbItemCat;

import java.util.List;

public interface ItemCatService {
    List<TbItemCat> getItemCatByParentId(Long pid);

    void addItemCat(TbItemCat ic);

    TbItemCat getItemCatById(Long id);

    void updateItemCatById(TbItemCat ic);

    void deleteBatchItemCatByIds(Long[] ids);

    TbItemCat findItemcategory1Id(Long category1Id);

    TbItemCat findItemcategory2Id(Long category2Id);

    TbItemCat findItemcategory3Id(Long category3Id);
}
